#ifndef INPUTDLG_H
#define INPUTDLG_H

#include <QDialog>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QGridLayout>
#include <QInputDialog>

class InputDlg : public QDialog
{
    Q_OBJECT
public:
    explicit InputDlg(QDialog *parent = 0);

private:
    QLabel *nameLabel1;
    QLabel *nameLabel2;
    QPushButton *nameButton;
    QLabel *sexLabel1;
    QLabel *sexLabel2;
    QPushButton *sexButton;
    QLabel *ageLabel1;
    QLabel *ageLabel2;
    QPushButton *ageButton;
    QLabel *scoreLabel1;
    QLabel *scoreLabel2;
    QPushButton *scoreButton;

    QGridLayout *mainLayout;

private slots:
    void changeName();
    void changeSex();
    void changeAge();
    void changeScore();
};

#endif // INPUTDLG_H
